import importlib
import sys

module_name = sys.argv[1]
attr_name = sys.argv[2]

try:
    module = importlib.import_module(module_name)
    if hasattr(module, attr_name):
        print(f"{module_name} module has {attr_name} attribute.")
    else:
        print(f"{module_name} module does not have {attr_name} attribute.")
except ImportError:
    print(f"{module_name} module not found.")